Skip to content

ci: harden QPK GitHub App control-plane health and secondary key failover - #632

Merged
Pigbibi merged 1 commit into
mainfrom
codex/qpk-app-health-check-20260920
Sep 19, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
codex/qpk-app-health-check-20260920

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add scheduled/manual read-only qpk-github-app-health workflow that mints a short-lived installation token (primary key first, secondary only if needed), verifies the 15 QuantStrategyLab sync repos plus QPK_PIN readback, and fails closed with a sanitized summary.
  • Update open-downstream-qpk-pin-prs to the same primary/secondary App token selection while retaining QSL_REPO_SYNC_TOKEN only as a migration fallback.
  • Document QSL_GITHUB_APP_PRIVATE_KEY_SECONDARY, rotation/failover, action dual-key limitation (continue-on-error, no key concatenation), and that Binance authority PATs stay separate.

Test plan

  • python3 -m pytest tests/test_qpk_github_app_health_workflow.py tests/test_update_qpk_pin_workflow.py -q --tb=short → 11 passed
  • git diff --check
  • actionlint .github/workflows/qpk-github-app-health.yml .github/workflows/open-downstream-qpk-pin-prs.yml
  • After merge/secret setup: manually run qpk-github-app-health and confirm token_source / result: pass without secret leakage
  • Confirm pin-sync still works with App primary (and secondary only when primary mint fails)

Made with Cursor

…ry key

Add a read-only scheduled App health workflow and primary/secondary private-key
failover for pin sync, keeping PAT only as a migration fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi force-pushed the codex/qpk-app-health-check-20260920 branch from 18d4bb1 to 41becff Compare September 19, 2026 22:50
@Pigbibi
Pigbibi merged commit 668b72d into main Sep 19, 2026
1 check passed
@Pigbibi
Pigbibi deleted the codex/qpk-app-health-check-20260920 branch September 19, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant